package com.itxiao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (ShippingRule)表实体类
 *
 * @author makejava
 * @since 2025-10-12 17:07:25
 */
@Data
@TableName("shipping_rule")
@AllArgsConstructor
@NoArgsConstructor
public class ShippingRule {
    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //模板id
    private Long templateId;
    //配送地区
    private String area;
    //首件价格
    private Double firstPiecePrice;
    //续件价格
    private Double addPiecePrice;
    //首重价格
    private Double firstWeightPrice;
    //续重价格
    private Double addWeightPrice;
    //首重
    private Double firstWeight;
    //续重单位
    private Double addWeightUnit;
}
